package com.hdoit.ares.logical.insu.dao.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.hdoit.ares.logical.insu.dao.IInsuranceInsurancePeopleDao;
import com.hdoit.ares.logical.insu.mapper.InsuranceInsurancePeopleMapper;
import com.hdoit.ares.logical.insu.model.InsuranceInsurancePeople;
import com.tennetcn.common.dao.base.impl.SuperDao;
/**
 * @author      lvsi
 * @email       
 * @createtime  2017年12月13日 18:32:48
 * @comment
 */
@Component
public class InsuranceInsurancePeopleDaoImpl extends SuperDao<InsuranceInsurancePeople> implements IInsuranceInsurancePeopleDao{

	private InsuranceInsurancePeopleMapper insuranceInsurancePeopleMapper;
	public InsuranceInsurancePeopleMapper getInsuranceInsurancePeopleMapper() {
		return insuranceInsurancePeopleMapper;
	}
	@Resource
	public void setInsuranceInsurancePeopleMapper(InsuranceInsurancePeopleMapper insuranceInsurancePeopleMapper) {
		this.insuranceInsurancePeopleMapper = insuranceInsurancePeopleMapper;
	}
	@Override
	public List<String> queryInsurancePeopleId(String insuranceId) {
		
		return insuranceInsurancePeopleMapper.queryInsurancePeopleId(insuranceId);
	}
	@Override
	public int deleteInsurancePeople(String insuranceId) {
		
		return insuranceInsurancePeopleMapper.deleteInsurancePeople(insuranceId);
	}

}